#include <Keyboard.h>
#include <KeyboardLayout.h>
#include <Keyboard_da_DK.h>
#include <Keyboard_de_DE.h>
#include <Keyboard_es_ES.h>
#include <Keyboard_fr_FR.h>
#include <Keyboard_it_IT.h>
#include <Keyboard_sv_SE.h>

#include <Keyboard.h>
int Button1=7;
int Button2=13;

void setup() {
  // put your setup code here, to run once:
  Keyboard.begin();
  pinMode(Button1,INPUT);
  pinMode(Button2,INPUT);
}

int a=0;
int b=0;
void loop() {
  // put your main code here, to run repeatedly:
  if(a!=digitalRead(Button1))
  {
    a=digitalRead(Button1);
    if(a==0) Keyboard.press(32);
    else Keyboard.release(32);
  }
  if(b!=digitalRead(Button2))
  {
    b=digitalRead(Button2);
    if(b==0) Keyboard.press(70);
    else Keyboard.release(70);
  }
}
